﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="dtoMockupSessionStorage" targetNamespace="http://tempuri.org/dtoMockupSessionStorage.xsd" xmlns:mstns="http://tempuri.org/dtoMockupSessionStorage.xsd" xmlns="http://tempuri.org/dtoMockupSessionStorage.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections />
        <Tables />
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="dtoMockupSessionStorage" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="dtoMockupSessionStorage" msprop:Generator_UserDSName="dtoMockupSessionStorage">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="UserAccounts" msprop:Generator_TableClassName="UserAccountsDataTable" msprop:Generator_TableVarName="tableUserAccounts" msprop:Generator_TablePropName="UserAccounts" msprop:Generator_RowDeletingName="UserAccountsRowDeleting" msprop:Generator_UserTableName="UserAccounts" msprop:Generator_RowChangingName="UserAccountsRowChanging" msprop:Generator_RowEvHandlerName="UserAccountsRowChangeEventHandler" msprop:Generator_RowDeletedName="UserAccountsRowDeleted" msprop:Generator_RowEvArgName="UserAccountsRowChangeEvent" msprop:Generator_RowChangedName="UserAccountsRowChanged" msprop:Generator_RowClassName="UserAccountsRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="UserName" msprop:Generator_ColumnVarNameInTable="columnUserName" msprop:Generator_ColumnPropNameInRow="UserName" msprop:Generator_ColumnPropNameInTable="UserNameColumn" msprop:Generator_UserColumnName="UserName" type="xs:string" />
              <xs:element name="Password" msprop:Generator_ColumnVarNameInTable="columnPassword" msprop:Generator_ColumnPropNameInRow="Password" msprop:Generator_ColumnPropNameInTable="PasswordColumn" msprop:Generator_UserColumnName="Password" type="xs:string" minOccurs="0" />
              <xs:element name="Id" msprop:Generator_ColumnVarNameInTable="columnId" msprop:Generator_ColumnPropNameInRow="Id" msprop:Generator_ColumnPropNameInTable="IdColumn" msprop:Generator_UserColumnName="Id" type="xs:string" />
              <xs:element name="ContactId" msprop:Generator_ColumnVarNameInTable="columnContactId" msprop:Generator_ColumnPropNameInRow="ContactId" msprop:Generator_ColumnPropNameInTable="ContactIdColumn" msprop:Generator_UserColumnName="ContactId" type="xs:string" minOccurs="0" />
              <xs:element name="Sessions" msprop:Generator_TableClassName="SessionsDataTable" msprop:Generator_TableVarName="tableSessions" msprop:Generator_TablePropName="Sessions" msprop:Generator_RowDeletingName="SessionsRowDeleting" msprop:Generator_UserTableName="Sessions" msprop:Generator_RowChangingName="SessionsRowChanging" msprop:Generator_RowEvHandlerName="SessionsRowChangeEventHandler" msprop:Generator_RowDeletedName="SessionsRowDeleted" msprop:Generator_RowEvArgName="SessionsRowChangeEvent" msprop:Generator_RowChangedName="SessionsRowChanged" msprop:Generator_RowClassName="SessionsRow" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                  <xs:appinfo>
                    <msdata:Relationship name="UserAccounts_Sessions" msdata:parent="UserAccounts" msdata:child="Sessions" msdata:parentkey="Id" msdata:childkey="UserId" msprop:Generator_UserChildTable="Sessions" msprop:Generator_ChildPropName="GetSessionsRows" msprop:Generator_UserParentTable="UserAccounts" msprop:Generator_UserRelationName="UserAccounts_Sessions" msprop:Generator_RelationVarName="relationUserAccounts_Sessions" msprop:Generator_ParentPropName="UserAccountsRow" />
                  </xs:appinfo>
                </xs:annotation>
                <xs:complexType>
                  <xs:sequence>
                    <xs:element name="SessionId" msprop:Generator_ColumnVarNameInTable="columnSessionId" msprop:Generator_ColumnPropNameInRow="SessionId" msprop:Generator_ColumnPropNameInTable="SessionIdColumn" msprop:Generator_UserColumnName="SessionId" type="xs:string" />
                    <xs:element name="UserName" msprop:Generator_ColumnVarNameInTable="columnUserName" msprop:Generator_ColumnPropNameInRow="UserName" msprop:Generator_ColumnPropNameInTable="UserNameColumn" msprop:Generator_UserColumnName="UserName" type="xs:string" minOccurs="0" />
                    <xs:element name="Time" msprop:Generator_ColumnVarNameInTable="columnTime" msprop:Generator_ColumnPropNameInRow="Time" msprop:Generator_ColumnPropNameInTable="TimeColumn" msprop:Generator_UserColumnName="Time" type="xs:dateTime" minOccurs="0" />
                    <xs:element name="UserId" msprop:Generator_ColumnVarNameInTable="columnUserId" msprop:Generator_ColumnPropNameInRow="UserId" msprop:Generator_ColumnPropNameInTable="UserIdColumn" msprop:Generator_UserColumnName="UserId" type="xs:string" minOccurs="0" />
                  </xs:sequence>
                </xs:complexType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Sessions_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Sessions" />
      <xs:field xpath="mstns:SessionId" />
    </xs:unique>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:UserAccounts" />
      <xs:field xpath="mstns:Id" />
    </xs:unique>
  </xs:element>
</xs:schema>